package com.spm.librarianmanagersystem.service;

import com.alibaba.fastjson.JSONArray;
import com.spm.librarianmanagersystem.pojo.Book;
import com.spm.librarianmanagersystem.vo.BookDetails;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 *  @Class: BookInfoService
 *  @Author: Wu Yue
 *  @Time: 16:30 2022/4/4
 *  @Description:
 */
public interface BookInfoService {


    public List<Map<String, String>> searchBookByMessage(BookDetails bookDetails) throws Exception;
    public Map<String, String> detailBookByISBN(BookDetails bookDetails);
    public ArrayList<Map<String, String>> searchBookLocationByISBN(String ISBN);

    List<Book> recommendBooksForUser(String userId, List<Book> books) throws Exception;
}
